package com.jy.rhin.model.body.chuanranbbg;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class XingZhengGL {
    //报卡类别代码
    @XPath(path = "/entry/observation/code[@code='DE01.00.002.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE01_00_002_00))
    CodeObject baoKaLB;
    //传染病患者归属代码
    @XPath(path = "/entry/observation/code[@code='DE02.01.006.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_006_00))
    CodeObject huanZheGS;
    //退卡原因
    @XPath(path = "/entry/observation/code[@code='DE09.00.055.00']/../value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE09_00_055_00, nullable = true))
    String tuiKaYY;
}
